Coping with Outlook 365 E-Mail
| Written: | 2025-09-09 | 
| Tags: | #how-to | 
Working with outlook can be challenging, there are a lot of things I really hate about it, but they aren't that hard to mitigate:
- Thunderbird supports outlook inboxes with the new auth, which solves most of my problems (offline viewing, better search, better automation, etc.)
 - The Unmangle Microsoft ATP Safelinks add-on removes the crazy thing that is "Safelinks"
 
There is one unsolved problems as of now, which is calendar sync. Outlook does not support any open calendar protocol with two-way sync, I am currently trying to roll my own solution, but it's more difficult than expected and def. not ready yet.
Setting up Thunderbird with Office365:
This is based on this answer:
Create a new Account:
- Menu icon > New > Existing mail account
 - Enter name, email address and normal password (same one you use to access via webmail)
 - Select checkbox to remember password.
 - click on 'Continue' and Thunderbird will attempt to get configuration settings. It will look for imap by default.
 Server Settings - Remember - if you already created the account and modifying the Authentication Method then do both incoming IMAP and outgoing SMTP.
IMAP settings:
- Server name: outlook.office365.com
 - Port: 993
 - Connection Security: SSL/TLS
 - User Name: full email address
 - Authentication Method: OAuth2
 SMTP settings:
- Description: full email address
 - Server name: smtp.office365.com
 - Port: 587
 - Connection Security: STARTTLS
 - User Name: full email address
 - Authentication Method: OAuth2
 When you attempt to connect to the server for the first time, you will get a pop up browser window from Microsoft asking for email address and normal password to allow Thunderbird access and then a token gets stored in Thunderbird in the same place as the normal passwords. From then onwards the token is used to access the server. You will re-login temporarily (every 30 days or so, I think?)